net/http.chunkWriter.res (field)
15 uses
net/http (current package)
server.go#L350: res *response
server.go#L377: if cw.res.req.Method == "HEAD" {
server.go#L382: _, err = fmt.Fprintf(cw.res.conn.bufw, "%x\r\n", len(p))
server.go#L384: cw.res.conn.rwc.Close()
server.go#L388: n, err = cw.res.conn.bufw.Write(p)
server.go#L390: _, err = cw.res.conn.bufw.Write(crlf)
server.go#L393: cw.res.conn.rwc.Close()
server.go#L402: return cw.res.conn.bufw.Flush()
server.go#L410: bw := cw.res.conn.bufw // conn's bufio writer
server.go#L413: if trailers := cw.res.finalTrailers(); trailers != nil {
server.go#L1065: w.cw.res = w
server.go#L1260: w := cw.res
server.go#L1303: foreachHeaderElement(v, cw.res.declareTrailer)
server.go#L1325: setHeader.contentLength = strconv.AppendInt(cw.res.clenBuf[:0], int64(len(p)), 10)
server.go#L1450: setHeader.date = appendTime(cw.res.dateBuf[:0], time.Now())
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |